<?php 
namespace app\admin\model;
use think\Model;
use traits\model\SoftDelete;
use app\admin\model\User as UserModel;

//user表的模型类
class Withdrawlist extends Model{
	
	//自动完成字段设置
	protected $auto = ['create_time'];

	//protected $update = ['login_ip'];
	//更新时间

    protected function setCreateTimeAttr($value){
        return strtotime($value);
    }
    //一对一关联模型
    /*public function User(){
    	return $this->belongsTo('User','User_id','User_id');
        // return $this->hasOne('User','user_id','id');
    }*/


}
 ?>